home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / txt2ps.zip / TXT2PS.DOC < prev   
Text File  |  1993-03-19  |  8KB  |  165 lines

  1.          (C) Copyright IBM Corp. 1992
  2.  
  3. TEXTorPS is an application program that can enhance the usability of
  4. OS/2 PostScript printers by permitting the user to leave the printer in
  5. PostScript mode and still print text sent to the printer spooler by
  6. applications which are not PostScript aware.  When TEXTorPS is running,
  7. PostScript printer jobs are undisturbed, but other text files are
  8. modified by the insertion of a PostScript program to interpret the job
  9. as ASCII text. The user may specify the font, typesize, line spacing,
  10. margins, orientation, page numbers and strings on each page.
  11.  
  12. The ASCII text mode which is supported is not the full PPDS
  13. datastream mode, and does not support graphics, control
  14. characters other than CR/LF, FF, TAB, SI , SO, DC2, DC4,
  15. esc-E, esc-F, and esc-:.  An attempt is made to print unsupported
  16. characters as blanks and ignore unsupported esc sequences, but
  17. esc sequences containing the character ctrl-D (hex 04) will
  18. cause the printout to fail.  Support of SI,SO is not identical
  19. to PPDS mode but may be acceptable.  The single and double rule
  20. characters are replaced by single rules and corners by blanks.
  21. The National Language Characters of codepage 850
  22. are available as an option.
  23.  
  24.  Starting TEXTorPS
  25.  
  26. TEXTorPS uses a character device monitor installed
  27. on any LPTn port device.  It optionally redirects
  28. output to a second printer device which may be on a LAN.
  29. Normally you want to install TEXTorPS
  30. using the command
  31.  
  32. TEXTORPS lpt1
  33.  
  34. If you want to install TEXTorPS for a printer on a LAN, say
  35. LPT3, you need to also define a printer (drag from the printer
  36. template in OS/2 2.0 and select PostScript driver) for a printer
  37. port for which there is no physical printer attached: say LPT2.
  38. Set the LPT2 printer as the default printer. In this case, the command is
  39.  
  40.  TEXTORPS lpt2 lpt3
  41.  
  42.  Now text and PostScript data sent to LPT2 will be redirected
  43. to lpt3 and text will be converted to PostScript.  You also need to issue
  44. NET USE LPT3 \\server\queue     for the lan printer, or equivalent.
  45.  
  46. Files dragged to the printer icon  may be selected to be
  47. "printer specific" to obtain the TEXTorPS formatting.
  48. The default system conversion to text is obtained by selecting
  49. "plain text" for the printer file contents.
  50.  
  51. Jobname (or dataset name if copy dsn lpt1 is used) is now
  52. working in OS/2 2.0.
  53.  
  54.  More information is available through the Help Menu
  55.  
  56. For help about any control on any window, select the control
  57. and press F1. Use the tab key to move to controls without
  58. activating them.
  59.  
  60.  Installing TEXTorPS
  61.  
  62. Unzip TXT2PS.ZIP using the command PKUNZIP TXT2PS.ZIP.
  63. Program parameters should be
  64. LPT1
  65. for a typical installation.
  66. In addition to copying TEXTORPS.EXE to a directory on the
  67. path, or installing it in a Program Group, you may want to
  68. consider automatic startup.  To be able to use the online
  69. help information, be sure to place
  70.  set HELP = c:\path in config.sys,
  71. where 'path' contains the directory in which TEXTORPS.HLP is
  72. installed, or copy TEXTORPS.HLP to C:\OS2\HELP
  73.  
  74. Be sure that a PostScript driver has been
  75. installed and connected to the logical port you will be
  76. using.  The correct driver name will probably start with PSCRIPT.
  77.  
  78. Start the program with the command syntax above; select margins if desired,
  79. minimize the window.
  80.  
  81. Software required: OS/2 2.0 or later with installed PSCRIPT driver
  82. Hardware required: Any PostScript printer.
  83.  
  84. Brief comments on options and dialog boxes:
  85.  
  86.  Best way to start program is with parameter   LPTn
  87.  where n is 1 or 2 depending on where your printer is attached.
  88.  Then select the Text Options submenu from the menu line.
  89.  
  90.    Margins - On this screen you can select the paper size and
  91.              text margins, also the paper orientation.  The paper.
  92.              length should always be larger than the width.  The
  93.              margins are the distances from the respective edges
  94.              of the paper for the body of printed text.  When in
  95.              landscape mode (sideways printing), the top margin
  96.              is the distance between the long side of the paper
  97.              and the top line of text (top, right etc. follow the
  98.              printing, not the paper).
  99.              Note for landscape mode it is NOT necessary to try
  100.              to place the printer in landscape mode.  On the other hand,
  101.              the paper size settings are not sent to the printer-
  102.              they are just used to decide where to print.  You should
  103.              set the printer paper size by hand when changing sizes.
  104.  
  105.    Font -    On this screen you can select the typeface and size
  106.              for text printing.  The typefaces shown are for the  IBM4019
  107.              and the PostScript FontCard.  The program
  108.              does not check that a fontcard is installed, invalid fonts
  109.              may result in Courier being used as default or in no output
  110.              if a software error results from a sufficiently invalid name.
  111.              Line spacing is 1.2 times type size so 10 pt type is printed
  112.              at 6 lines per inch.  The options Oblique/Italic and Bold
  113.              are not applicable to all fonts.
  114.              Symbol, for example, has no Italic form.  Italic will
  115.              be ignored in that case and no error message produced.
  116.              Similarly Helvetica Light will ignore the Bold option.
  117.              Type size is set by clicking on the desired number.
  118.              Click on the scrollbar arrows to see more values.  The
  119.              accepted range is 5 pts to 72 pts (72 pts= 1 inch or 25.4 mm).
  120.              Courier and its variants are the only non proportional
  121.              fonts and should be used if column alignment is critical.
  122.  
  123. Pagination-  On this screen you can specify one or two strings to be printed
  124.              in the upper or lower margins of each page, and an optional
  125.              page number.  The strings S1 and S2 are edit boxes accepting
  126.              a maximum of 32 characters.  Group boxes allow selection
  127.              of what is printed at each of 4 places on the page:
  128.              TC: O  S1    place String S1 at top center
  129.                  O  S2    place String S2 at top center
  130.                  O  N     place page number at top center
  131.                  O        place nothing at top center.
  132.  
  133.              TR: top right.  BC: bottom center   BR: bottom right.
  134.  
  135.              The type size box on this screen applies to all of these items
  136.              which are printed inside the left and right margins and
  137.              outside the top and bottom margins.  The centered strings
  138.              are centered between the margins, not on the paper. Note
  139.              that if you want vary large page numbers, for example, it
  140.              may be necessary to increase the top or bottom margin size.
  141.              The Save button on this screen is equivalent to the
  142.              Save Defaults submenu choice: it saves ALL options for future
  143.              default use.
  144.  
  145.    Save Defaults- Selecting this option will cause all settings: Font,
  146.              margins, paper orientation, page number instructions, etc
  147.              (but not the printer device name )
  148.              to be saved in the user.ini system file.  About 30 variables
  149.              are saved.  The first time this is done, considerable disk
  150.              activity is required as keys are added to the system file.
  151.              The application keyname is "TEXTORPS".  Once this has
  152.              been done, at all future loads of the program the default
  153.              values will override the command line information, except for
  154.              the printer device name.
  155.  
  156.  
  157. Beeping-     A two tone beep indicates that the character device
  158.              monitor thread was unable to open a monitor on the
  159.              specified device (port).  This usually means the first
  160.              parameter specified does not match a printer port.
  161.  
  162. Online Help  See the online Extended Help and Help Index for additional
  163.              information.  Press F1 after tabbing to any option for
  164.              more information specfic to that option.
  165.